package com.xianggg.xservers.web;

import java.io.File;
import java.util.Date;

public class FileVO {
    public String path;
    public String name;
    public boolean isDir;

    public FileVO(String path, String name, boolean isDir) {
        this.path = path;
        this.name = name;
        this.isDir = isDir;
    }

    public FileVO(File file){
//        this.path = file.getPath();
        this.name = file.getName();
        this.isDir = file.isDirectory();
    }
}
